<template>
  <div>
    <!-- <h1>非常low的代码生成器</h1> -->
    <el-divider></el-divider>
    <el-row>
      <el-button @click="generate">生成国际化配置文件</el-button>
    </el-row>
  </div>
</template>
<script>
import { generateLangFile } from '@/util/generator/index'
export default {
  methods: {
    generate() {
      generateLangFile().then(({ data }) => {
        this.$message.success('生成成功:' + data)
      })
    }
  }
}
</script>

<style>
</style>